package org.dromara.system.domain.bo;

import org.dromara.system.domain.WbMinuteList;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.math.BigDecimal;

/**
 * 中标分包详情业务对象 wb_minute_list
 *
 * @author Lion Li
 * @date 2024-05-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = WbMinuteList.class, reverseConvertGenerate = false)
public class WbMinuteListBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 分标编号
     */
    private String subStandardId;

    /**
     * 分标名称
     */
    private String subStandardName;

    /**
     * 中标结果公告ID
     */
    @NotNull(message = "中标结果公告ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long wbMinuteBidBagId;

    /**
     * 包号
     */
    private String bagNo;

    /**
     * 包名称
     */
    private String bagName;

    /**
     * 中标公司名称
     */
//    @NotBlank(message = "中标公司名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String companyName;

    /**
     * 备注
     */
    private String remark;

    /**
     * 价格
     */
    private String price;

    /**
     * 价格说明
     */
    private String priceDescription;

    /**
     * 排序
     */
    private int sort;


}
